<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta name="keywords" content="关键字">
    <meta name="description" content="简介">
</head>

<body>
<!-- 元素选择器 * E # . -->
<style>
    /* css 样式代码注释 */
    /* * p # */
    /* .ad 为样式类类名 */
    .ad {
        color: red;
    }

    .box{color:green;}

    /* 关系选择器 空格 > + ~ */
    h1~*{
        color:red;
    }
    div>*{
        background-color: #ff00ff;
    }
</style>
<div>
    <p>p1</p>
    <span>sss</span>
    <div>dddd</div>

</div>
<hr>

<p>段落</p>
<div>盒子</div>
<span class="box" >行内</span>
<hr>
<div>aaa</div>

<h1>
    aaa
    <div>fffff-div</div>
    <p>
        <div>divppp</div>
    </p>
</h1>

<div>ddd</div>

<div>aaaa</div>
<p>ffff</p>
</body>
</html>
